//
//  LevelSelect.h
//  GameProject
//
//  Created by Blair Trusler on 20/02/2012.
//  Copyright (c) 2012 Blair Trusler. All rights reserved.
//

#import "GameHeader.h"
#import "CCScrollLayer.h"       //http://www.givp.org/blog/2010/12/30/scrolling-menus-in-cocos2d/

@interface LevelSelect : CCLayer <UIActionSheetDelegate, GKLeaderboardViewControllerDelegate>{
    CCLayer *page0; //Random
    CCLayer *page1; //Level 1
    CCLayer *page2; //Level 2 
    CCLayer *page3; //Level 3
    CCLayer *page4; //Level 4
    CCLayer *page5; //Level 5
    
//    UIViewController *tempVC;   //Temp view controller for Game Center integration
    GKLeaderboardViewController *tempVC;
}


+(id) scene;
-(void)loadScreenContents;

-(void)returnToTitleScreen:(id)sender;
-(void)setUpSaves;
-(void)playLevel1:(id)sender;
-(void)playLevel2:(id)sender;
-(void)playLevel3:(id)sender;
-(void)playLevel4:(id)sender;
-(void)playLevel5:(id)sender;

-(void)playRandomLevel:(id)sender;


-(void)showLeaderboards:(id)sender;
-(void)showLeaderboards2:(id)sender;
-(void)showLeaderboards3:(id)sender;
-(void)showLeaderboards4:(id)sender;
-(void)showLeaderboards5:(id)sender;

-(void)leaderboardViewControllerDidFinish:(GKLeaderboardViewController *)viewController;

@end
